<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Stuck-up school',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			I&apos;m still confused by 11.16 theorems, but your explanation of polar coordinates was excellent.
			I think I&apos;m starting to pick up a bit of how to use those theorems though.
			Hopefully I&apos;ll have it down well enough to pass the exam tomorrow (my scheduled proctoring day).
		</p>
	</blockquote>
	<p>
		As I took one of the exams for the week, the one in the English course, I ran across this question:
	</p>
	<blockquote>
		<p>
			True or False: You should use the Uo<span class="redacted">[REDACTED]</span> Library whenever possible for research instead of Google.
		</p>
	</blockquote>
	<p>
		Wow.
		The answer they want is clear from the question, but it&apos;s a pretty stuck-up attitude.
		Ignoring the fact that the school&apos;s using the name Google as a proxy for search engines in general, it&apos;s trying to claim that it&apos;s own library is the best source for research.
		This is patently false though.
		First, let&apos;s ignore the fact that the school doesn&apos;t even <strong>*have*</strong> a library; the &quot;Uo<span class="redacted">[REDACTED]</span> Library&quot; doesn&apos;t exist.
		Rather, the school is partnered with a couple library services that are in no way a part of the school.
		These two libraries have huge issues though.
		The first library doesn&apos;t even function.
		It claims there&apos;s an authentication error when you try to use the site.
		Maybe they changed their system and the university never updated their link to use the new authentication system or something.
		In any case, this library isn&apos;t functional for us.
		As for the second library, it&apos;s a walled garden, so outside search engines cant get in and help us find what we need.
		It&apos;s own search feature doesn&apos;t turn up relevant results any time I&apos;ve used it, and I&apos;m not the only student that&apos;s had that issue.
		Back to being a walled garden though, that means that when we do any research there and cite our sources, no one can go read our sources from outside the school.
		How in Squiddy&apos;s name can that possibly be a valid way to choose sources?
		Back to the first library site, assuming there was no authentication failure, there&apos;s clearly some sort of authentication thing going on.
		No doubt, this is <strong>*another*</strong> walled garden that doesn&apos;t let outsiders read their material.
		Again, that&apos;s no site for finding resources worth citing.
	</p>
	<p>
		My final exams are tomorrow.
		I took a trip back to the University of Oregon&apos;s proctoring facility to make sure I still know the route for tomorrow.
		I left way too late though, so it&apos;d gotten dark.
		My bike light didn&apos;t help; I&apos;m now convinced those things are solely to let other people know where you are so they don&apos;t crash into you, not to actually help you see.
		A very useful feature to be sure, but not the one that seems to be implied.
		I had to bike through a dark forest to reach the school, and with each new shadow, I lost track of the path.
		After a while, I&apos;d be able to see the path just fine though in places I previously couldn&apos;t.
		My eyes weren&apos;t adjusting though; rather, I&apos;m pretty sure my brain had pieced together enough of the visual cues to figure out which part of the image from my eyes must be the path.
		It was a bit surreal; brains are weird.
		It seems I still remembered the complete route, aside from the final turn.
		I turned one street too early, and ended up lost on the same street I got lost on the last time I had an exam proctored there.
		Now that the route is fresh in my memory, I&apos;ll get it right tomorrow.
	</p>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/y.st./source/y.st./static/img/CC_BY-SA_3.0/minetest.net./weblog/2018/03/28.png" alt="The apple saplings have been replaced with pine" class="framed-centred-image" width="800" height="600"/>
	<p>
		I came to a realisation today that my use of a wooden door in my bonus deck to provide warp points for me conflicts with my use of saplings to increase sapling drop rates.
		The sapling drop rate increase isn&apos;t really optional, especially if I&apos;m using the sapling-mining stat to power something such as the warp-point-setting ability, so I thought I&apos;d have to  either split my sapling stat use between the two (halving the effect of both) or not use warp points at all.
		It was a bit frustrating, but I couldn&apos;t change which items granted which bonuses to make things better for my personal bonus deck.
		That would be cheating.
		Soon I remembered that I&apos;d already planned to duplicate many bonuses though, but for different stats.
		Like, this was in the very first draft of <code>minequest</code>.
		In the first draft, it served two purposes.
		First, it helped cut down the sheer number of bonuses I&apos;d have to come up with.
		That was the main reason.
		But secondly, it&apos;d let players use a bonus they like with bonuses of the same type; they just had to switch items/slots for one of the bonuses.
		(The slots at that time were completely static in which stat they used.)
		Certain bonuses were even set to be stackable if you wanted to dedicate multiple slots to them.
		For the most part, this would be done with similar items; for example, all picks would grant the same bonus.
		There was a technicality on tin and copper stuff where sometimes there was a tin version, a copper version, and a bronze version, so to resolve that, many bronze items had a different effect than other items of the same type, but almost every other item had the same ability as like items.
		I forgot about all but the wooden door because the wooden door&apos;s the only ancient door, but the other doors still exist.
		There&apos;s one for the iron stat and the obsidian stat, as well as this sapling-based door.
		There&apos;s also the enigmatic glass door.
		What do I do with that in my design?
		Clearly, it needs the same bonus, but it&apos;s a stat-free item.
		It needs a non-levelling version of the warp point bonus.
		Does that mean it only provides one warp point?
		Or does it get a small, fixed number?
		Either way, it&apos;ll be the best of the doors for warping when you first start out, as the other doors will grant you zero warp points.
		Once you&apos;ve mined enough though, it&apos;ll be the worst door.
		Its power simply won&apos;t grow.
	</p>
	<p>
		So anyway, I won&apos;t need the wooden door bonus.
		I might use the steel door bonus if I don&apos;t get enough points to power the obsidian door bonus enough.
		I should be able to make the obsidian door work though, as I don&apos;t need a tonne of warp points; only a few key ones, if I play strategically.
		With that out of the way, I dismantled my apple orchard to go back to growing pine trees for their snow, which I need for the tower.
		I got tired of the snow-on-dirt spreading to nearby bare dirt nodes though.
		The grass sometimes dies under the trees after it grows, then after replanting, the snow spreads under the sapling.
		Saplings won&apos;t grow on snowy dirt, and they&apos;re on a timer.
		Every time the snow spread under the sapling, I&apos;d have to remove the sapling and the snow, resetting the timer.
		What a pain.
		I finally replaced the snowy dirt with snow block nodes.
		I&apos;d forgotten about <code>renew</code> though; it claimed my snow blocks, turning them into ice.
		First of all, I needed that snow for the tower.
		I&apos;d only put them at the farm temporarily to grow trees with.
		Second, ice doesn&apos;t have the same effect on pine saplings as snow, snow blocks, and snowy dirt.
		Several pine trees grew without generating more snow, setting me back even further.
		I&apos;m happy <code>renew</code> functions the way it does, but I need to be more mindful of it.
		It wouldn&apos;t have that same problem for me on a permanent tree farm though.
		It&apos;s this makeshift one on the water (and my absent-mindedness) that&apos;s the real issue.
		Even in dealing with the effects of vanilla Minetest Game, I&apos;ve lost nodes I wanted.
		Water converts my cobble to mossy cobble.
		Granted, I only want the cobble to remain cobble because <code>renew</code> lets me sometimes convert it into gravel when I dig it, but still, that&apos;s an effect purely from Minetest Game.
	</p>
	<p>
		I&apos;m probably going to take a couple weeks off from playing Minetest, so I&apos;ve cleaned up my excess warp points and organised my main storage chests.
		I&apos;m now down to four warp points.
		One is at the top of the main dig site.
		I warp there, then dig a column straight down.
		At the bottom lies my second warp point, which I use to either leave or go back to the top.
		One warp point lies in the basement where I&apos;m camping out for the time being.
		The last one lies at the entrance to that basement so I don&apos;t have to climb up and down the stairs.
		I probably don&apos;t need that last one, and once transitioned from the yellow bed system to the <code>minequest</code> system, which has different mechanics, I won&apos;t need the one at the bottom of the dig site either.
	</p>
	<p>
		To be clear, I likely won&apos;t <strong>*play*</strong> Minetest, but I&apos;ll probably continue developing <code>minequest</code> and test it in a test world.
		I feel like this time, I might actually get this project off the ground, as I&apos;m working in a more-incremental fashion.
		I&apos;m starting with a proof-of-concept build, and that proof-of-concept is far more within reach than a build with full support for all Minetest Game nodes has been.
	</p>
</section>
END
);
